<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录-国际化案例</title>
</head>
<body>
<h2>[[#{login.title}]]</h2>
<hr/>
<form method="post" action="">
    <p><input type="text" name="userName" th:placeholder="#{login.userName}" required></p>
    <p><input type="password" name="password" th:placeholder="#{login.password}" required></p>
    <p><input type="submit" th:value="#{login.submit}"></p>
</form>
</body>
</html>